﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RecentCars.ascx.cs" Inherits="Webcar.UI.RecentCars" %>
<%@ Register src="PanelTitle.ascx" tagname="PanelTitle" tagprefix="uc1" %>


<uc1:PanelTitle ID="PanelTitle1" runat="server" Title="最近新车" URL="~/Main.aspx?type=car"  />
<ul style="text-align:left; margin:3px 1px 1px 1px">
    <asp:Repeater ID="Repeater1" runat="server" 
        onitemdatabound="Repeater1_ItemDataBound">
        <ItemTemplate>
            <li class="list_style" style="width:350px; margin-bottom:2px">
                <asp:Label runat="server" ID="newlabel" Text="新" ForeColor = "Red" />
                <span style="font-weight:bold">[<%#Eval("buy_date")%>]</span>
                <asp:HyperLink runat="server" ID="hyperlink1"><%#Eval("dept_name")%>,<%#Eval("record_no")%>,<%#Eval("car_note")%></asp:HyperLink>
            </li>
        </ItemTemplate>
    </asp:Repeater>
</ul>